package com.eastfair.venueservice.vo;

import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import com.eastfair.venuebooking.enumeration.ResponsibilityerRoleEnum;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 场馆综合展会负责人
 * </p>
 *
 * @author linan
 * @since 2022-07-15
 */
@Data
@ApiModel(value = "ExhibitionManageResponsibilityerVO", description = "场馆综合展会负责人")
public class ExhibitionManageResponsibilityerVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long exhibitionManageId;
    /**
     * 负责人姓名
     */
    @ApiModelProperty(value = "负责人姓名")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "负责人姓名长度不能超过255")
    private String userName;
    /**
     * 负责人id
     */
    @ApiModelProperty(value = "负责人id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long userId;
    /**
     * 负责人角色 #{MAIN_IN_CHARGE:主要负责人;ASSISTING_STAFF:协助人员}
     */
    @ApiModelProperty(value = "负责人角色 #{MAIN_IN_CHARGE:主要负责人;ASSISTING_STAFF:协助人员}")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private ResponsibilityerRoleEnum responsibilityerRole;
    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long orgId;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "部门名称长度不能超过255")
    private String orgName;
}
